package com.yyge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.yyge.controller.admin.orders.req.OrdersReq;
import com.yyge.controller.admin.orders.resp.OrdersResp;
import com.yyge.controller.admin.orders.resp.OrdersStatisticResp;
import com.yyge.controller.mobile.orders.req.OrderCreateReq;
import com.yyge.entity.Orders;

/**
* @author Administrator
* @description 针对表【orders(订单表)】的数据库操作Service
* @createDate 2023-07-02 20:36:22
*/
public interface OrdersService extends IService<Orders> {

    String createOrder(OrderCreateReq req);

    String searchByMerchandiserName(String orderNumber);

    PageInfo<OrdersResp> search(OrdersReq req);

    OrdersStatisticResp ordersStatistic();
}
